home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_gen_particlesystemwithanimat.cog < prev    next >
Text File  |  1999-11-15  |  509b  |  33 lines

  1. # Jedi Knight Cog Script
  2. #
  3. # 00_PARTICLESYSTEM.COG
  4. #
  5. # Particle System
  6. #
  7. # [KS]
  8. #
  9. # (C) 1997 LucasArts Entertainment Co. All Rights Reserved
  10.  
  11. symbols
  12.     message    startup
  13.     message    pulse
  14.     
  15.     thing        ghost0
  16.     template    partSystem
  17.     int        dummy        local
  18.     flex        pulsetime=.25
  19.     
  20.     material    mat0=gen_a4sfx_purple_particle_sparks_01.mat     
  21. end
  22.  
  23. code
  24. startup:
  25.     setpulse(pulsetime);
  26.     MaterialAnim(mat0, 10, 1);
  27.     return;
  28.  
  29. pulse:
  30.     dummy=CreateThing(partSystem, ghost0);
  31.     return;
  32.     
  33. end